package com.swanclouds.redfish.common.redfish;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.swanclouds.model.ModelEntity;

import java.util.Map;

/**
 * author: 李文强
 * description:
 */

public class LogOverWritePolicy {

    @JsonProperty("error")
    private Map<String,Object> error;

    @JsonRootName("OverWritePolicy")
    public enum OverWritePolicy implements ModelEntity {
        NeverOverWrites,
        WrapsWhenFull;
    }

    @Override
    public String toString() {
        return "error=" + error;
    }
}
